/**
 * 柯里化
*/

const add = (x, y) => x + y
const getSum = x => y => x + y

console.log(getSum(1)(2))
console.log(add(1, 2))